// 文件路径: src/main/java/com/macro/mall/tiny/modules/oms/dto/UserLoginParam.java
package com.macro.mall.tiny.modules.oms.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

@Data
@Schema(description = "顾客登录参数")
public class UserLoginParam {

    @NotEmpty(message = "手机号不能为空")
    @Schema(description = "手机号")
    private String phone;

    @NotEmpty(message = "密码不能为空")
    @Schema(description = "密码")
    private String password;
}
